@mixin trim($numLines: null) {
  @if $numLines != null {
    display: flex;
    overflow-y: hidden;
    -webkit-line-clamp: $numLines;
    -webkit-box-orient: vertical;
  } @else {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}
.line1 {
  @include trim;
}
.line2 {
  @include trim(2);
}

.omitLine2{
  display: -webkit-box;
  overflow: hidden;
  white-space: normal !important;
  text-overflow: ellipsis;
  word-wrap: break-word;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
